// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
  
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  .el-dialog__body {
    padding: 20px;
    color: #303133;
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.label-line-20 label{
  line-height: 18px !important;
}
.el-tooltip__popper{
  max-width: 200px;
}
.el-upload-list__item-name [class^=el-icon] {
  color: #1890ff;
}
.el-form-item__label{
  white-space: pre-line;
}
.el-form--inline{
  margin-bottom: 8px;
  .el-form-item {
    margin-right: 20px;
    margin-bottom: 15px;
  }
}
.el-drawer.rtl{
  .el-drawer__header{
    color: #1f1f1f;
    margin-bottom: 0;
    padding: 15px 20px;
    box-shadow: 0px 1px 5px #eee;
    z-index: 2;
    &> :first-child{
      font-size: 18px;
      font-weight: bold;
    }
    .el-drawer__close-btn{
      font-size: 25px;
    }
  }
  .el-drawer__body{
    padding-bottom: 56px;
    overflow-x: hidden;
    &::-webkit-scrollbar {
      /*width: 0;宽度为0隐藏*/
      width: 6px;
      height: 6px;
    }
    &::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background: #ddd;
    }
    &::-webkit-scrollbar-track {
      border-radius: 10px;
      background: #fff;
    }
  }
}
.el-table__body-wrapper{
  &::-webkit-scrollbar {
    height: 6px;
    width: 6px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #ddd;
  }
  &::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #fff;
  }
}
.el-scrollbar__wrap::-webkit-scrollbar{
  width: 6px;
  height: 6px;
}
.el-tabs--card > .el-tabs__header .el-tabs__item.is-active{
  font-weight: bold;
  &:after{
    content: '';
    height: 2px;
    width: 100%;
    background: #1890ff;
    position: absolute;
    top: -1px;
    left: 0;
  }
}